/**
 *   {
        field: 'createDate',
        title: '时间',
        width: 120
    }
 * @type {*[]}
 */
clos = [
    {
        field:'uid',
        title:'序号',
        sort: true,
        width: 60,
        type:'numbers',
        align:'center'
    },
    {
        field: 'customerName',
        title: '供应商',
        width: 100
    },{
        field: 'materielNum',
        title: 'SAP',
        width: 100
    },
    {
        field: 'materielName',
        title: '零件名称',
        width: 100
    },
    {
        field: 'unit',
        title: '计量单位',
        width: 100
    },
    {
        field: 'packingQuantity',
        title: '单包装',
        width: 100
    },
    {
        field: 'upperValue',
        title: 'max',
        width: 80
    },
    {
        field: 'lowerValue',
        title: 'min',
        width: 80
    },
    /*{
        field: 'username8',
        title: '是否断点',
        width: 100
    },*/
    {
        field: 'lastGeLiBalance',
        title: '上月隔离结存',
        width: 100
    },{
        field: 'lastMonthBalance',
        title: '上月结存',
        width: 100
    },
    {
        field: 'thisMonthAdd',
        title: '本月累计入库数',
        width: 100
    },{
        field: 'thisMonthReduce',
        title: '本月累计发出数',
        width: 100
    },
    {
        field: 'thisMonthReturn',
        title: '退货、报废',
        width: 100
    },
    {
        field: 'thisMonthBalance',
        title: '本月结存数',
        width: 100
    },
    {
        field: 'username8',
        title: '本月累计隔离数',
        width: 140,
        templet:function () {
            return 0;
        }
    },
    {
        field: 'username8',
        title: '本月累计返工数',
        width: 140,
        templet:function () {
            return 0;
        }
    },
    {
        field: 'geLiBalance',
        title: '隔离结存数',
        width: 100
    },

    {
        field: 'username81',
        title: '实际可用库存',
        width: 120,
            templet: function (row){
                var value = "";
                if(null != row.geLiBalance){
                    value = row.thisMonthBalance - row.geLiBalance;
                }
                return value;
            }
    },
    {
        field: 'username8',
        title: '累积差异',
        width: 100,
        templet:function () {
            return 0;
        }
    },
    {
        field: 'username8',
        title: '备注',
        width: 100
    }
]